from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
    html_01 = "<h3 style='color:red'>长沙文创水果店:</h3>"

    list_01 = ["香蕉","苹果","橘子","橙子","葡萄","火龙果","榴莲"]
    html_02_start = "<ul style='color:deeppink'>"
    for item in list_01:
        html_02_start += "<li>"+item+"</li>"
    html_02_end = "</ul>"
    html_02 = html_02_start+html_02_end

    return html_01 + html_02

if __name__ == '__main__':
    app.run(host="0.0.0.0")

# html列表:
# <ul>
#   <li>香蕉</li>
#   <li>苹果</li>
# </ul>